package com.summer.toolkit.controller;

import com.summer.toolkit.service.CacheServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/zaki/toolkit")
public class CacheController {
  @Autowired
  private CacheServiceImpl cacheService;

  @GetMapping("/v1/cache")
  public void cache(){
    cacheService.service();
  }
}
